package com.sys.dao;

import com.sys.entity.Dictionary;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by dell on 2016/9/21.
 */
public interface DictionaryDao extends JpaRepository<Dictionary,String> {

    List<Dictionary> findBydicName(String name);

}
